package net.forty2ware.vintagesofa

class ServerTest extends GroovyTestCase {

  Server server = new Server()

  void test_setContext_empty() {
    server.context = ''
    assertEquals '', server.context
  }

  void test_setContext_typical() {
    server.context = 'test'
    assertEquals '/test', server.context
  }


  void test_setContext_null() {
    server.context = null
    assertEquals '', server.context
  }



}